package com.zhiteng.service;

import java.util.List;

import com.zhiteng.entity.AdjustBill;
import com.zhiteng.entity.Bill;
import com.zhiteng.entity.Procins;

public interface AdjustBillService {

	int saveAdjustBill(AdjustBill adjustBill);

	/**
	 * 
	 * @param teacherId
	 * @return
	 */
	List<AdjustBill> queryAdjustBillByTeacherId(String teacherId);

	List<Procins> queryProcinsByAdjustBillId(Long billId);

	List<AdjustBill> queryAdjustBillByPetitionerId(String petitionerId);

	AdjustBill queryAdjustBillByBillId(Long bill_id);

	List<AdjustBill> queryAllAdjustBillBySchoolId(String schoolId);

	List<AdjustBill> queryAllAdjustBillBySchoolIdAndPetitionerId(String schoolId);

	int deleteAdjustBill(Long billId);

	int updateStatus(Long billId, int i);

	List<AdjustBill> queryAdjustBillBySchoolIdAndStatus(String schoolId, int i);

	void updateRevocable(Long billId, int i);

	List<AdjustBill> queryAllAdjustBillBySchoolId(String schoolId, Integer type2);

	List<AdjustBill> queryAdjustBillBySchoolIdAndTeacherIdAndAdjustDateAndOldSubjectAndOldClassAndOldNode(AdjustBill adjustBill);

	List<AdjustBill> queryAdjustBySchoolIdAndStatusAndType2(String schoolId, int i, int j);

	List<AdjustBill> queryAllAdjustBillBySchoolIdAndPersionIsNull(String schoolId, Integer type2);

	Bill queryBillById(long billId);

}
